package cn.declare.service.impl;


import cn.declare.bean.Keyparts;
import cn.declare.dao.KeyMapper;
import cn.declare.service.KeyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KeyServiceImpl implements KeyService {
    @Autowired
    private KeyMapper keyMapper;
    /**
     * @return 查看零件所有情况
     */
    @Override
    public List<Keyparts> getList(int pageIndex, String keyPartsName) {
        return keyMapper.getList(pageIndex, keyPartsName);
    }

}
